package org.jeecg.dev.service.impl;

import org.jeecg.dev.entity.DevEquipmentVerification;
import org.jeecg.dev.mapper.DevEquipmentVerificationMapper;
import org.jeecg.dev.service.IDevEquipmentVerificationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 设备检定记录表
 * @Author: jeecg-boot
 * @Date:   2022-03-05
 * @Version: V1.0
 */
@Service
public class DevEquipmentVerificationServiceImpl extends ServiceImpl<DevEquipmentVerificationMapper, DevEquipmentVerification> implements IDevEquipmentVerificationService {

    @Autowired
    DevEquipmentVerificationMapper devEquipmentVerificationMapper;
    @Override
    public String selectLastId() {
        return devEquipmentVerificationMapper.selectLastId();
    }

    @Override
    public List<DevEquipmentVerification> listByCode(String code) {
        return devEquipmentVerificationMapper.listByCode(code);
    }
}
